﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="TranDetails.aspx.cs"
    Inherits="RealEstate.TranDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .iheader
        {
            text-decoration: underline;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Sunset" />
    <script type="text/javascript">
        //<![CDATA[
        function openWin(url) {
            var oWnd = radopen(url, "RadWindow1");
        }

        function OnClientClose(oWnd, args) {
            //get the transferred arguments
            var arg = args.get_argument();
            if (arg) {
                var cityName = arg.cityName;
                var seldate = arg.selDate;
                $get("order").innerHTML = "You chose to fly to <strong>" + cityName + "</strong> on <strong>" + seldate + "</strong>";
            }
        }
        //]]>
    </script>
    <telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false"
        ReloadOnShow="true" runat="server" Skin="Sunset" EnableShadow="true">
        <Windows>
            <telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Close" OnClientClose="OnClientClose"
                NavigateUrl="StatusHistory.aspx">
            </telerik:RadWindow>
            <telerik:RadWindow ID="RadWindow2" runat="server" Width="650" Height="480" Modal="true"
                NavigateUrl="StatusHistory.aspx">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    <p>
        <asp:ImageButton runat="server" ID="imgEdit" ImageUrl="~/Images/tran_edit.png" OnClick="imgEdit_Click"
            Height="32px" />&nbsp;&nbsp;
        <asp:ImageButton runat="server" ID="imgBack" ImageUrl="~/Images/back.png" Height="32px"
            OnClick="imgBack_Click" />
    </p>
    <asp:Panel ID="pnlCaseInformation" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td>
                    Case Number :
                </td>
                <td>
                    <asp:Label ID="lblCaseIDNumber" runat="server" />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Date Open:
                </td>
                <td>
                    <asp:Label ID="lblDateOpen" runat="server" />
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    Archive:
                </td>
                <td>
                    <asp:CheckBox ID="chkArchive" runat="server" Enabled="false" />
                </td>
                <td>
                    <asp:HyperLink ID="hplHistory" runat="server" NavigateUrl="#" ForeColor="Blue">View all status history</asp:HyperLink>
                </td>
                <td>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlClientInformation" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td colspan="2">
                    <span class="iheader"><strong>Client's Information</strong></span>
                </td>
                <td colspan="2">
                    <span class="iheader"><strong>Co Client's Information</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    Client's Last Name :
                </td>
                <td>
                    <asp:Label ID="lblClientLastName" runat="server" />
                </td>
                <td>
                    Co Client's Last Name :
                </td>
                <td>
                    <asp:Label ID="lblCoClientLastName" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Client's First Name :
                </td>
                <td>
                    <asp:Label ID="lblClientFirstName" runat="server" />
                </td>
                <td>
                    Co Client's First Name :
                </td>
                <td>
                    <asp:Label ID="lblCoClientFirstName" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Client's SSN :
                </td>
                <td>
                    <asp:Label ID="lblClientSSN" runat="server" />
                </td>
                <td>
                    Co Client's SSN :
                </td>
                <td>
                    <asp:Label ID="lblCoClientSSN" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Work Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblClientWorkPhone" runat="server" />
                </td>
                <td>
                    Work Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblCoClientWorkPhone" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Client's Fax Number :
                </td>
                <td>
                    <asp:Label ID="lblClientFaxNumber" runat="server" />
                </td>
                <td>
                    Client's Fax Number :
                </td>
                <td>
                    <asp:Label ID="lblCoClientFaxNumber" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Home Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblClientHomePhone" runat="server" />
                </td>
                <td>
                    Home Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblCoClientHomePhone" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Cell Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblClientCellPhone" runat="server" />
                </td>
                <td>
                    Cell Phone Number :
                </td>
                <td>
                    <asp:Label ID="lblCoClientCellPhone" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Email :
                </td>
                <td>
                    <asp:Label ID="lblClientEmail" runat="server" />
                </td>
                <td>
                    Email :
                </td>
                <td>
                    <asp:Label ID="lblCoClientEmail" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Birth Date :
                </td>
                <td>
                    <asp:Label ID="lblClientBirthDate" runat="server" />
                </td>
                <td>
                    Birth Date :
                </td>
                <td>
                    <asp:Label ID="lblCoClientBirthDate" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="PnlTransactionInformation" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td>
                    <span class="iheader"><strong>Transaction Information</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    Client Type :
                </td>
                <td>
                    <asp:Label ID="lblClientType" runat="server" />
                </td>
                <td>
                    Source Of Business :
                </td>
                <td>
                    <asp:Label ID="lblSourceOfBusiness" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Urgency :
                </td>
                <td>
                    <asp:Label ID="lblUrgency" runat="server" />
                </td>
                <td>
                    Refered By :
                </td>
                <td>
                    <asp:Label ID="lblReferedBy" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="pnlPropertyInformation" runat="server" Width="100%">
        <span class="iheader"><strong>Property Information</strong></span>
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td colspan="2">
                    Subject Address
                </td>
                <td colspan="2">
                    Mailing Address
                </td>
            </tr>
            <tr>
                <td>
                    SubjectPropertyType:
                </td>
                <td>
                    <asp:Label ID="lblSubjectPropertyType" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Street Number :
                </td>
                <td>
                    <asp:Label ID="lblSubjectStreetNumber" runat="server" />
                </td>
                <td>
                    Street Number :
                </td>
                <td>
                    <asp:Label ID="lblMailStreetNumber" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Street Name :
                </td>
                <td>
                    <asp:Label ID="lblSubjectStreetName" runat="server" />
                </td>
                <td>
                    Street Name :
                </td>
                <td>
                    <asp:Label ID="lblMailStreetName" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    State :
                </td>
                <td>
                    <asp:Label ID="lblState" runat="server" />
                </td>
                <td>
                    State :
                </td>
                <td>
                    <asp:Label ID="lblState2" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    City :
                </td>
                <td>
                    <asp:Label ID="lblCity" runat="server" />
                </td>
                <td>
                    City :
                </td>
                <td>
                    <asp:Label ID="lblCity_New" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    ZipCode :
                </td>
                <td>
                    <asp:Label ID="lblZipCode" runat="server" />
                </td>
                <td>
                    ZipCode :
                </td>
                <td>
                    <asp:Label ID="lblZipCode_New" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="pnlTransactionDetail" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td>
                    <span class="iheader"><strong>Transaction Details</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    Purchase Sold Price :
                </td>
                <td>
                    <asp:Label ID="lblPurchasePrice" runat="server" />
                </td>
                <td>
                    TotalEquity/AppraisalValue :
                </td>
                <td>
                    <asp:Label ID="lblTotalEquity" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Contract Date :
                </td>
                <td>
                    <asp:Label ID="lblPurchaseDate" runat="server" />
                </td>
                <td>
                    Loan Amount :
                </td>
                <td>
                    <asp:Label ID="lblLoanAmount" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Date Of COE :
                </td>
                <td>
                    <asp:Label ID="lblPurchaseClosingDate" runat="server" />
                </td>
                <td>
                    Program :
                </td>
                <td>
                    <asp:Label ID="lblProgram" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="pnlFinancialInfo" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="*" />
            </colgroup>
            <tr>
                <td>
                    <span class="iheader"><strong>Financial Info</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    HouseHold Income :
                </td>
                <td>
                    <asp:Label ID="lblHouseHoldIncome" runat="server" />
                </td>
                <td>
                    HouseHold Debits :
                </td>
                <td>
                    <asp:Label ID="lblHouseHoldDebits" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="pnlTransactionStatus" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="*%" />
            </colgroup>
            <tr>
                <td>
                    <span class="iheader"><strong>TransactionStatus_RE</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    Status Of Case :
                </td>
                <td>
                    <asp:Label ID="lblCaseStatus" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Date Of Status :
                </td>
                <td>
                    <asp:Label ID="lblDateOfStatus" runat="server" />
                </td>
                <td>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <asp:Panel ID="pnlMyIncomeInfo" runat="server" Width="100%">
        <table width="100%">
            <colgroup>
                <col width="20%" />
                <col width="30%" />
                <col width="20%" />
                <col width="30%" />
            </colgroup>
            <tr>
                <td>
                    <span class="iheader"><strong>My Income Info</strong></span>
                </td>
            </tr>
            <tr>
                <td>
                    Total Gross Income :
                </td>
                <td>
                    <asp:Label ID="lblTotalGrossIncome" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Credit To Client :
                </td>
                <td>
                    <asp:Label ID="lblCreditToClient" runat="server" />
                </td>
                <td>
                    Way To Credit :
                </td>
                <td>
                    <asp:Label ID="lblWayToCredit" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Expense :
                </td>
                <td>
                    <asp:Label ID="lblExpense" runat="server" />
                </td>
                <td>
                    Expense Type :
                </td>
                <td>
                    <asp:Label ID="lblExpenseType" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Pay To Assistant :
                </td>
                <td>
                    <asp:Label ID="lblPayToAssistant" runat="server" />
                </td>
                <td>
                    Assistant Name :
                </td>
                <td>
                    <asp:Label ID="lblAssistantName" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Referal Fee :
                </td>
                <td>
                    <asp:Label ID="lblReferalFee" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Gross Commission :
                </td>
                <td>
                    <asp:Label ID="lblGrossCommission" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    My Gross Income :
                </td>
                <td>
                    <asp:Label ID="lblMyGrossIncome" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Other Income :
                </td>
                <td>
                    <asp:Label ID="lblOtherIncome" runat="server" />
                </td>
                <td>
                    Reason For Other Income :
                </td>
                <td rowspan="2">
                    <asp:Label ID="lblReasonForOtherIncome" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    Transaction Fee :
                </td>
                <td>
                    <asp:Label ID="lblTransactionFee" runat="server" />
                </td>
            </tr>
            <tr>
                <td>
                    My Total Gross Income :
                </td>
                <td>
                    <asp:Label ID="lblMyTotalGrossIncome" runat="server" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <p>
    </p>
    <table width="50%">
        <tr>
            <td>
                <span class="iheader"><strong>Notes :</strong></span>
            </td>
            <td>
                <asp:Label ID="lblNotes" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
